package cn.stylefeng.guns.modular.business.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@ApiModel(value="cn-stylefeng-guns-modular-business-dto-DeviceQueryDto")
@Data
@EqualsAndHashCode(callSuper=true)
@AllArgsConstructor
@NoArgsConstructor
public class DeviceQuery extends BaseDto {

    /**
     * 厂家出厂的设备序列号
     */
    @TableField(value = "device_sn")
    @ApiModelProperty(value="设备编号")
    private String deviceSn;

    /**
     * 设备类型，1是塔吊、2是升降机、3是吊钩可视化、4是AI服务器、5是监控摄像头，6是用电监测设备
     */
    @TableField(value = "device_type")
    @ApiModelProperty(value="设备类型")
    private Integer deviceType;

}
